package com.jianzh5.service;

import com.jianzh5.common.DataPage;
import com.jianzh5.entity.TAdmin;
import com.jianzh5.common.DataTables;
import com.jianzh5.pojo.PAdmin;

public interface UserServiceI {

	public TAdmin getByAccount(String username);

	public PAdmin getPadmin(int id);

	public DataTables dataTables(String order, String sort, DataPage datapage);

	public PAdmin getPadminWithRole(int id);

	public void editUser(PAdmin admin);

	public void addUser(PAdmin admin);

	public void delUser(int userId);

	
}
